package com.xjy.system.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import javax.validation.constraints.*;


/**
 * 物料数据汇总报表编辑对象 report_material
 *
 * @author zc
 * @date 2022-03-21
 */
@Data
@ApiModel("物料数据汇总报表编辑对象")
public class ReportMaterialEditBo {


	@ApiModelProperty("开始时间")
	private String mindate;

	@ApiModelProperty("结束时间")
	private String maxdate;

	@ApiModelProperty("项目id")
	private Long projId;

	@ApiModelProperty("项目名称")
	private String projName;

	@ApiModelProperty("物料id")
	@NotBlank(message = "物料id不能为空")
	private String materialId;

	@ApiModelProperty("物料名称")
	@NotBlank(message = "物料名称不能为空")
	private String name;

	@ApiModelProperty("物料单位")
	@NotBlank(message = "物料单位不能为空")
	private String unit;

	@ApiModelProperty("物料期初余额")
	private Long beginyue;

	@ApiModelProperty("入库数量")
	private Long ruku;

	@ApiModelProperty("借出数量")
	private Long jiechu;

	@ApiModelProperty("归还数量")
	private Long guihuan;

	@ApiModelProperty("报损数量")
	private Long baosun;

	@ApiModelProperty("售卖数量")
	private Long shoumai;

	@ApiModelProperty("物料期末余额")
	private Long endyue;
}
